home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 11817 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  818 b 

  1. Path: minerva.ibernet.es!usenet
  2. From: infobar <infobar@seker.es>
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: Conditional operator overload (? :)?
  5. Date: Sat, 16 Mar 1996 02:20:31 -0800
  6. Organization: Servicio IBERNET (Telefonica Transmision de Datos)
  7. Message-ID: <314A95EF.3265@seker.es>
  8. References: <4i9gb2$29n@natasha.rmii.com>
  9. NNTP-Posting-Host: pc5.infobar.gi
  10. Mime-Version: 1.0
  11. Content-Type: text/plain; charset=us-ascii
  12. Content-Transfer-Encoding: 7bit
  13. X-Mailer: Mozilla 2.0 (Win16; I)
  14.  
  15. disch@aartronics.com wrote:
  16. > We have a Boolean class and we were wondering if there was a reasonable way
  17. > to overload the conditional operator ( ? : )?
  18. > Any input or pointers to examples would be greatly appreciated.
  19. > Bob Dischner
  20. > Aartronics Corp
  21.  
  22. Dear Dish:
  23.  
  24. Bad news: The ?: operator cannot be overloaded.
  25.  
  26. Sorry
  27. Bye
  28.